package pers.zc.activiti.shejimoshi.guanchazhe.guanchazhe;


/**
 * @Annotion: 具体目标方法
 * @ClassName: ConcreteSubject
 * @Author: Lin Fuyuan
 * @Date: 2019/9/24  10:17
 * @Version: 1.0
 */
public class ConcreteSubject extends Subject {

    @Override
    public void notifyObserver() {
        System.out.println("具体目标发生变化");
        System.out.println("---------");
        for (Object obs:observers){
            ((Observer)obs).response();//调用抽象观察者
        }
    }

}
